#include <stdio.h>

int main() {
    int num1, num2;
    int max, min;

    printf("Input:");
    scanf("%d %d", &num1, &num2);

    max = num1;
    min = num2; 
    if (num1 < num2) {
        max = num2;
        min = num1;
    }  
    printf("max = %d, min = %d\n", max, min);
    return 0;
}
